package com.wxd.thread;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

public class MyThread extends Thread {

    // 重写run方法
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println("Thread" + i);
        }
    }
}
